package com.btsk.dao;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.btsk.model.GpsInfo;


public interface GpsInfoDao {

	void saveGpsInfo(GpsInfo gpsInfo);

	int findGpsInfoCount(String queryStr, Date startTime, Date endTime,
			int opr, int type, int subType, int valid, int minSpeed,
			int maxSpeed);

	int findGpsInfoCount(Map<String, Object> queryMap, Date startTime,
			Date endTime, int opr, int type, int subType, int valid,
			int minSpeed, int maxSpeed);

	void saveNewGpsInfo(GpsInfo gpsInfo);

	boolean isExistGpsTable(Date localTime);

	void saveBatchGpsInfo(String date, List<GpsInfo> gpsInfos);

	void saveGpsTable(Date localTime);

	void saveBathNewGpsInfo(List<GpsInfo> gpsInfos);
	
	void removeCarInfo(final long car_id);

}
